package cn.dzh.service.impl;

import cn.dzh.mapper.RoleOperationMapper;
import cn.dzh.mapper.RolesMapper;
import pojo.entity.RoleOperation;
import pojo.entity.Roles;
import cn.dzh.service.RoleOperationService;
import cn.dzh.service.RolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * ClassName: RoleOperationServiceImpl
 * Package: cn.dzh.service.impl
 */
@Service
public class RoleOperationServiceImpl implements RoleOperationService {
    @Autowired
    private RoleOperationMapper roleOperationMapper;
    @Override
    public ArrayList<RoleOperation> findByRoleId(Integer roleId) {
        return roleOperationMapper.findByRoleId(roleId);
    }
}
